package com.newaim.service.Impl;

import com.newaim.service.PermissionService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.Set;

/**
 * 权限 Service 实现类
 *
 * @author 芋道源码
 */
@Service
@Slf4j
public class PermissionServiceImpl implements PermissionService {

    @Override
    public boolean hasAnyPermissions(Long userId, String... permissions) {
        return false;
    }

    @Override
    public boolean hasAnyRoles(Long userId, String... roles) {
        return false;
    }

    @Override
    public void assignRoleMenu(Long roleId, Set<Long> menuIds) {

    }

    @Override
    public void processRoleDeleted(Long roleId) {

    }

    @Override
    public void processMenuDeleted(Long menuId) {

    }

    @Override
    public Set<Long> getRoleMenuListByRoleId(Collection<Long> roleIds) {
        return null;
    }

    @Override
    public Set<Long> getMenuRoleIdListByMenuIdFromCache(Long menuId) {
        return null;
    }

    @Override
    public void assignUserRole(Long userId, Set<Long> roleIds) {

    }

    @Override
    public void processUserDeleted(Long userId) {

    }

    @Override
    public Set<Long> getUserRoleIdListByRoleId(Collection<Long> roleIds) {
        return null;
    }

    @Override
    public Set<Long> getUserRoleIdListByUserId(Long userId) {
        return null;
    }

    @Override
    public Set<Long> getUserRoleIdListByUserIdFromCache(Long userId) {
        return null;
    }

    @Override
    public void assignRoleDataScope(Long roleId, Integer dataScope, Set<Long> dataScopeDeptIds) {

    }
}
